<?php include("include.php");?>
<?php
	$qid = $_GET['qid'];
	$jid = $_GET['jid'];
	$quark = quark::getQuarkById($qid);
	if(isset($quark)){
		$quark->delete();
	}
	quarktransmitted::deleteByQuarkId($qid);
	quarkresponse::deleteByQuarkId($qid);	
?>
<meta http-equiv="REFRESH" content="0;url=jobQuarks.php?jid=<?php echo $jid?>">
<?php include("includes/footer.php");?>